<template>
    <!-- 实名认证失败 -->
    <pagebox class="pagebox" shownav istabbox isback navtitle="认证失败">
        <!-- 内容盒子 -->
        <view class="form" slot="cent">
            <view class="result">
                <image src="/static/img/mine/certification-fail.png"></image>
                <view class="tip">
                    认证失败
                </view>
                <view class="reason">
                    人脸照片采集不符合要求，请重新认证！
                </view>
            </view>
            <view class="info">
                <view class="header">
                    <image src="/static/img/mine/tick.png"></image>
                    <view>正确示范</view>
                </view>
                <view class="correct">
                    <image src="/static/img/mine/correct.png"></image>
                    <view>肩部以上正脸</view>
                </view>
                <view class="header">
                    <image src="/static/img/mine/cross.png"></image>
                    <view>错误示范</view>
                </view>
                <view class="error">
                    <view class="item">
                        <image src="/static/img/mine/error-demo-1.png"></image>
                        <view>光线太暗</view>
                    </view>
                    <view class="item">
                        <image src="/static/img/mine/error-demo-2.png"></image>
                        <view>侧脸</view>
                    </view>
                    <view class="item">
                        <image src="/static/img/mine/error-demo-3.png"></image>
                        <view>双眼未睁开</view>
                    </view>
                </view>
            </view>
            <!-- form-submit begin -->
            <view class="footer">
                <button type="button">重新开始</button>
            </view>
            <!-- form-submit end -->
        </view>
    </pagebox>
</template>

<script>
export default {
    data() {
        return {
        }
    },
    async onLoad() {
    },
    methods: {
    }
}
</script>

<style lang="scss" scoped>
.pagebox {
    background-color: $bg-color-white;

    .result {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60rpx 0;
        font-size: $font-size-medium;

        view {
            padding: 20rpx 0;
        }

        image {
            width: 100rpx;
            height: 100rpx;
        }

        .reason {
            color: #a2a2a2;
        }
    }

    .info {
        display: flex;
        flex-direction: column;

        view {
            margin: 15rpx;
        }


        .header {
            display: flex;
            align-items: center;

            view {
                margin: 0 15rpx;
            }

            image {
                width: 30rpx;
                height: 30rpx;
            }
        }

        .correct {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #a2a2a2;

            image {
                width: 280rpx;
                height: 220rpx;
            }
        }

        .error {
            display: flex;
            // flex-direction: column;
            align-items: center;
            color: #a2a2a2;

            .item {
                width: 33%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                margin: 10rpx 0;

                image {
                    width: 150rpx;
                    height: 150rpx;
                }
            }
        }
    }
}

.footer {
    height: 120rpx;
    padding: 10rpx 20rpx;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

    button {
        width: 100%;
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50rpx;
        color: #FFFFFF !important;
        background: #ad2325 !important;
    }
}
</style>
